package org.example.model;

import org.example.utils.InvoiceUtils;
import org.example.utils.MQUtils;
import org.example.utils.SMSUtils;

/**
 * @author chentao
 * @version 1.0
 * @description: TODO
 * @date 2025/7/1 23:11
 */
public class Sign implements InvoiceUtils.IInvoice , MQUtils.IMQ , SMSUtils.ISMS {

    //编号
    private int id;

    //价格
    private int price;

    //状态
    private int status;

    //手机号
    private String phone;

    //抬头
    private String title;

    //统一社会信用代码
    private String code;

    @Override
    public String getDestination() {
        return "SYS_MQ";
    }

    @Override
    public String getText() {
        return this.title + " 领购了项目";
    }

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getPrice() {
		return price;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Override
	public String toString() {
		return "Sign [id=" + id + ", price=" + price + ", status=" + status + ", phone=" + phone + ", title=" + title
				+ ", code=" + code + "]";
	}
    
}
